//
//  CustomView.m
//  13-AutoLayout强化
//
//  Created by 曹曹 on 16/8/1.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "CustomView.h"

@implementation CustomView

// 内容的大小
// UIView默认大小[-1, -1]
- (CGSize)intrinsicContentSize {
    CGSize size = [super intrinsicContentSize];
    NSLog(@"%@", NSStringFromCGSize(size));
    return CGSizeMake(100, 100);
}

@end
